package com.lanchetech.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用户代理身份
 */
@ApiModel(value = "com-lanchetech-entity-UserAgentLevel")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserAgentLevel implements Serializable {
    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 0 省 1 市 2 区
     */
    @ApiModelProperty(value = "0 省 1 市 2 区")
    private Byte type;

    /**
     * 地址id
     */
    @ApiModelProperty(value = "地址id")
    private Long locationId;

    /**
     * 合并名称
     */
    @ApiModelProperty(value = "合并名称")
    private String mergerName;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    /**
     * 用户手机号码
     */
    @ApiModelProperty(value = "用户手机号码")
    private String userPhone;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private Long userId;

    /**
     * 赠送来源用户编号
     */
    @ApiModelProperty(value = "赠送来源用户编号")
    private Long fromUserId;

    /**
     * 有效期
     */
    @ApiModelProperty(value = "有效期")
    private Date expireTime;

    private static final long serialVersionUID = 1L;
}